package com.pandora.credit.mongo.service;

import com.pandora.credit.dto.request.CustomerReportRequest;
import com.pandora.credit.dto.response.CustomerReportResponse;
import com.pandora.credit.dto.response.H5ReportResponse;
import com.pandora.credit.mongo.entity.H5Report;

import java.util.List;

/**
 * @author developer
 */
public interface H5ReportService {

    /**
     * queryCustomerReports
     * @param req req
     * @return CustomerReportResponse
     */
    CustomerReportResponse queryCustomerReports(CustomerReportRequest req);

    /**
     * saveH5Report
     * @param report report
     * @param type type
     */
    void saveH5Report(String report, String type);

    /**
     * queryH5Report
     * @param reportId reportId
     * @return H5ReportResponse
     */
    H5ReportResponse queryH5Report(String reportId);

    /**
     * queryByCusType
     * @param customerId customerId
     * @param type type
     * @return H5ReportList
     */
    List<H5Report> queryByCusType(long customerId, String type);
}
